package com.lhn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author lhn
 * @date 2024-10-11 23:07
 */

@Data
public class User {
    private long id;

    private String username;

    private String password;

    private String nickname;

    private String gender;

    private String telephone;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerdate;

    private String address;
}
